graphing straigth lines using table of of values